package com.ruoyi.system.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.TBaseProjectDetails;
import com.ruoyi.system.domain.TSpCountTax;

/**
 * 项目周期明细Service接口
 * 
 * @author ruoyi
 * @date 2024-04-28
 */
public interface ITBaseProjectDetailsService  extends IService<TBaseProjectDetails>
{
    /**
     * 查询项目周期明细
     * 
     * @param pdId 项目周期明细主键
     * @return 项目周期明细
     */
    public TBaseProjectDetails selectTBaseProjectDetailsByPdId(Long pdId);

    /**
     * 查询项目周期明细列表
     * 
     * @param tBaseProjectDetails 项目周期明细
     * @return 项目周期明细集合
     */
    public List<TBaseProjectDetails> selectTBaseProjectDetailsList(TBaseProjectDetails tBaseProjectDetails);

    /**
     * 新增项目周期明细
     * 
     * @param tBaseProjectDetails 项目周期明细
     * @return 结果
     */
    public int insertTBaseProjectDetails(TBaseProjectDetails tBaseProjectDetails);

    /**
     * 修改项目周期明细
     * 
     * @param tBaseProjectDetails 项目周期明细
     * @return 结果
     */
    public int updateTBaseProjectDetails(TBaseProjectDetails tBaseProjectDetails);

    /**
     * 批量删除项目周期明细
     * 
     * @param pdIds 需要删除的项目周期明细主键集合
     * @return 结果
     */
    public int deleteTBaseProjectDetailsByPdIds(Long[] pdIds);

    /**
     * 删除项目周期明细信息
     * 
     * @param projectId 项目Id
     * @return 结果
     */
    public int deleteTBaseProjectDetailsByPdId(Long projectId);
}
